<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Open SCA: runtime_env/rte_utils/include/Boost_utils.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.onetek.net"><img alt="Logo" src="openscaLogo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Open SCA
   &#160;<span id="projectnumber">Version 0.6.0</span>
   </div>
   <div id="projectbrief">Open SCA</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_boost__utils_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Boost_utils.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_boost__utils_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/***************************************************************************/</span><span class="comment">/****************************************************************************/</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#if !defined _BOOST_UTILS_H_</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#define _BOOST_UTILS_H_</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="rte__debug_8h.html">rte_debug.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;iostream&gt;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;boost/interprocess/managed_shared_memory.hpp&gt;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;boost/interprocess/sync/interprocess_mutex.hpp&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;boost/interprocess/sync/interprocess_condition.hpp&gt;</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;boost/interprocess/sync/scoped_lock.hpp&gt;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;boost/interprocess/sync/interprocess_semaphore.hpp&gt;</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;boost/interprocess/containers/string.hpp&gt;</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &lt;boost/interprocess/allocators/allocator.hpp&gt;</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &lt;boost/thread/thread.hpp&gt;</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;boost/bind.hpp&gt;</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;boost/smart_ptr.hpp&gt;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="_boost__utils_8h.html#a7cd49ca790c3be55b2ec4d561175e433">   40</a></span>&#160;<span class="preprocessor">#define SCA_SHM_SIZE                                                    (1024)</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#define SCA_SHM                                 (&quot;sca_shm&quot;)</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html">   44</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html">BOOST_CONSTANT</a> {</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#a1387f4d333332cfe81df9ad942455097">DEVICE_MANAGER_CND</a>;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#ad9276652cc5ea641f73bf482990ddddb">DOMAIN_MANAGER_CND</a>;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#a6c6590c122c4a17609cb3783a331cede">SYSTEM_MANAGER_CND</a>;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#a7d840181d3156f954c5bf1fc41fb572d">APP_MUTEX_CND</a>;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#afa48d7857a9c3cc2a020281575a2c396">INIT_DEVICE_CND</a>;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#aca4736fa70eb519999f8c15a71d601a6">MUTEX_CND</a>;</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#a8f546a2a350406d4a8326fd3b3d1eeb2">COMP_SYNCHRO_SEM</a>;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#a79de4ac01a4856652aae60cc0cde29d6">CHECK_APP_STATUS</a>;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;}</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<a class="code" href="_boost__utils_8h.html#ac2ea679308d9273f30e41abf38efac07">createSharedMemory</a>(</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <span class="keyword">const</span> std::string &amp; shmName,</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    <span class="keywordtype">int</span> size);</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;<a class="code" href="_boost__utils_8h.html#af5275f5331c417561697f6b1c96201c4">removeSharedMemory</a>(</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keyword">const</span> std::string &amp; shmName);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<a class="code" href="_boost__utils_8h.html#abeac027bb3ec764e04c688dd674a3a78">notifyConditionTrue</a>(</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;    <span class="keyword">const</span> std::string &amp; conditionName);</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<a class="code" href="_boost__utils_8h.html#a307d03b2bedef0db8b6449b69a066912">waitConditionTrue</a>(</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keyword">const</span> std::string &amp; conditionName);</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<a class="code" href="_boost__utils_8h.html#aeeb6bbdabfc09359908c4084cca16698">sds_lock</a>(</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    <span class="keyword">const</span> std::string &amp; lockName);</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;<a class="code" href="_boost__utils_8h.html#ae2931d3a5d6667a4ec373166202ba7e0">sds_lock_destroy</a>(</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keyword">const</span> std::string &amp; lockName);</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<a class="code" href="_boost__utils_8h.html#a09c78ef42b69c55f0589605eaa483a42">sds_unlock</a>(</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keyword">const</span> std::string &amp; lockName);</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span></div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="_boost__utils_8h.html#adb83a541d0810ae6f365708645905f0f">  107</a></span>&#160;<a class="code" href="_boost__utils_8h.html#adb83a541d0810ae6f365708645905f0f">waitSemaphore</a>(</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keyword">const</span> std::string &amp; semName,</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="keywordtype">int</span> initVal = 0) {</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        <span class="keywordflow">try</span> {</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;                boost::interprocess::managed_shared_memory managed_shm(</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;                    boost::interprocess::open_only, <a class="code" href="_boost__utils_8h.html#a20b39e37e6bab08c0b2b8b74d494ab99">SCA_SHM</a>);</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;                boost::interprocess::interprocess_semaphore * sem =</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;                    managed_shm.find_or_construct&lt;boost::interprocess::interprocess_semaphore&gt;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;                    (semName.c_str())(initVal);</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;                sem-&gt;wait();</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;        } <span class="keywordflow">catch</span> (boost::interprocess::interprocess_exception &amp; ex) {</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;                <a class="code" href="rte__debug_8h.html#a76d5c6075ac9d681bb3b3a6a5aace282">RTE_DEBUG</a>(0, [<a class="code" href="_boost__utils_8h.html#adb83a541d0810ae6f365708645905f0f">Boost_utils::waitSemaphore</a>],</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;                        <span class="stringliteral">&quot; waitSemaphore interprocess exception:&quot;</span> &lt;&lt; ex.what())</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;        }</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;}</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="keywordtype">void</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<a class="code" href="_boost__utils_8h.html#a232c9f98a5d59507e715c345f8824de1">destroySemaphore</a>(</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keyword">const</span> std::string &amp; semName);</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="keyword">inline</span> <span class="keywordtype">void</span></div><div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="_boost__utils_8h.html#a5b01531cf26bc9923f64895896fd5cf1">  134</a></span>&#160;<a class="code" href="_boost__utils_8h.html#a5b01531cf26bc9923f64895896fd5cf1">postSemaphore</a>(</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keyword">const</span> std::string &amp; semName,</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    <span class="keywordtype">int</span> initVal = 0) {</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        <span class="keywordflow">try</span> {</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;                boost::interprocess::managed_shared_memory managed_shm(</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;                    boost::interprocess::open_only, <a class="code" href="_boost__utils_8h.html#a20b39e37e6bab08c0b2b8b74d494ab99">SCA_SHM</a>);</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;                boost::interprocess::interprocess_semaphore * sem =</div><div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;                    managed_shm.find_or_construct&lt; boost::interprocess::interprocess_semaphore &gt;</div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;                    (semName.c_str())(initVal);</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;                sem-&gt;post();</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        } <span class="keywordflow">catch</span> (boost::interprocess::interprocess_exception &amp; ex) {</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;                <a class="code" href="rte__debug_8h.html#a76d5c6075ac9d681bb3b3a6a5aace282">RTE_DEBUG</a>(0, [<a class="code" href="_boost__utils_8h.html#a5b01531cf26bc9923f64895896fd5cf1">Boost_utils::postSemaphore</a>],</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;                        <span class="stringliteral">&quot; postSemaphore interprocess exception:&quot;</span> &lt;&lt; ex.what())</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        }</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;}</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;#endif <span class="comment">//_BOOST_UTILS_H_</span></div><div class="ttc" id="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t_html_a79de4ac01a4856652aae60cc0cde29d6"><div class="ttname"><a href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#a79de4ac01a4856652aae60cc0cde29d6">BOOST_CONSTANT::CHECK_APP_STATUS</a></div><div class="ttdeci">const char * CHECK_APP_STATUS</div></div>
<div class="ttc" id="_boost__utils_8h_html_aeeb6bbdabfc09359908c4084cca16698"><div class="ttname"><a href="_boost__utils_8h.html#aeeb6bbdabfc09359908c4084cca16698">sds_lock</a></div><div class="ttdeci">void sds_lock(const std::string &amp;lockName)</div><div class="ttdoc">Process locking. </div></div>
<div class="ttc" id="_boost__utils_8h_html_abeac027bb3ec764e04c688dd674a3a78"><div class="ttname"><a href="_boost__utils_8h.html#abeac027bb3ec764e04c688dd674a3a78">notifyConditionTrue</a></div><div class="ttdeci">void notifyConditionTrue(const std::string &amp;conditionName)</div><div class="ttdoc">Condition variable notice the state of all threads waiting on this to ready. </div></div>
<div class="ttc" id="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t_html_aca4736fa70eb519999f8c15a71d601a6"><div class="ttname"><a href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#aca4736fa70eb519999f8c15a71d601a6">BOOST_CONSTANT::MUTEX_CND</a></div><div class="ttdeci">const char * MUTEX_CND</div></div>
<div class="ttc" id="_boost__utils_8h_html_af5275f5331c417561697f6b1c96201c4"><div class="ttname"><a href="_boost__utils_8h.html#af5275f5331c417561697f6b1c96201c4">removeSharedMemory</a></div><div class="ttdeci">void removeSharedMemory(const std::string &amp;shmName)</div><div class="ttdoc">Destruction a shared memory with given name. </div></div>
<div class="ttc" id="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t_html_ad9276652cc5ea641f73bf482990ddddb"><div class="ttname"><a href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#ad9276652cc5ea641f73bf482990ddddb">BOOST_CONSTANT::DOMAIN_MANAGER_CND</a></div><div class="ttdeci">const char * DOMAIN_MANAGER_CND</div></div>
<div class="ttc" id="_boost__utils_8h_html_ae2931d3a5d6667a4ec373166202ba7e0"><div class="ttname"><a href="_boost__utils_8h.html#ae2931d3a5d6667a4ec373166202ba7e0">sds_lock_destroy</a></div><div class="ttdeci">void sds_lock_destroy(const std::string &amp;lockName)</div></div>
<div class="ttc" id="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t_html_a1387f4d333332cfe81df9ad942455097"><div class="ttname"><a href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#a1387f4d333332cfe81df9ad942455097">BOOST_CONSTANT::DEVICE_MANAGER_CND</a></div><div class="ttdeci">const char * DEVICE_MANAGER_CND</div></div>
<div class="ttc" id="_boost__utils_8h_html_a232c9f98a5d59507e715c345f8824de1"><div class="ttname"><a href="_boost__utils_8h.html#a232c9f98a5d59507e715c345f8824de1">destroySemaphore</a></div><div class="ttdeci">void destroySemaphore(const std::string &amp;semName)</div></div>
<div class="ttc" id="_boost__utils_8h_html_a5b01531cf26bc9923f64895896fd5cf1"><div class="ttname"><a href="_boost__utils_8h.html#a5b01531cf26bc9923f64895896fd5cf1">postSemaphore</a></div><div class="ttdeci">void postSemaphore(const std::string &amp;semName, int initVal=0)</div><div class="ttdoc">Increments the interprocess_semaphore count. </div><div class="ttdef"><b>Definition:</b> <a href="_boost__utils_8h_source.html#l00134">Boost_utils.h:134</a></div></div>
<div class="ttc" id="_boost__utils_8h_html_a09c78ef42b69c55f0589605eaa483a42"><div class="ttname"><a href="_boost__utils_8h.html#a09c78ef42b69c55f0589605eaa483a42">sds_unlock</a></div><div class="ttdeci">void sds_unlock(const std::string &amp;lockName)</div><div class="ttdoc">Process unlocking. </div></div>
<div class="ttc" id="_boost__utils_8h_html_a20b39e37e6bab08c0b2b8b74d494ab99"><div class="ttname"><a href="_boost__utils_8h.html#a20b39e37e6bab08c0b2b8b74d494ab99">SCA_SHM</a></div><div class="ttdeci">#define SCA_SHM</div><div class="ttdef"><b>Definition:</b> <a href="_boost__utils_8h_source.html#l00042">Boost_utils.h:42</a></div></div>
<div class="ttc" id="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t_html"><div class="ttname"><a href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html">BOOST_CONSTANT</a></div><div class="ttdef"><b>Definition:</b> <a href="_boost__utils_8h_source.html#l00044">Boost_utils.h:44</a></div></div>
<div class="ttc" id="rte__debug_8h_html"><div class="ttname"><a href="rte__debug_8h.html">rte_debug.h</a></div><div class="ttdoc">:  </div></div>
<div class="ttc" id="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t_html_afa48d7857a9c3cc2a020281575a2c396"><div class="ttname"><a href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#afa48d7857a9c3cc2a020281575a2c396">BOOST_CONSTANT::INIT_DEVICE_CND</a></div><div class="ttdeci">const char * INIT_DEVICE_CND</div></div>
<div class="ttc" id="rte__debug_8h_html_a76d5c6075ac9d681bb3b3a6a5aace282"><div class="ttname"><a href="rte__debug_8h.html#a76d5c6075ac9d681bb3b3a6a5aace282">RTE_DEBUG</a></div><div class="ttdeci">#define RTE_DEBUG(level, title, debuginfo)</div><div class="ttdef"><b>Definition:</b> <a href="rte__debug_8h_source.html#l00067">rte_debug.h:67</a></div></div>
<div class="ttc" id="_boost__utils_8h_html_ac2ea679308d9273f30e41abf38efac07"><div class="ttname"><a href="_boost__utils_8h.html#ac2ea679308d9273f30e41abf38efac07">createSharedMemory</a></div><div class="ttdeci">void createSharedMemory(const std::string &amp;shmName, int size)</div><div class="ttdoc">Create a shared memory with given name and size. </div></div>
<div class="ttc" id="_boost__utils_8h_html_a307d03b2bedef0db8b6449b69a066912"><div class="ttname"><a href="_boost__utils_8h.html#a307d03b2bedef0db8b6449b69a066912">waitConditionTrue</a></div><div class="ttdeci">void waitConditionTrue(const std::string &amp;conditionName)</div><div class="ttdoc">Condition variable notice the state of all threads get lock. </div></div>
<div class="ttc" id="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t_html_a8f546a2a350406d4a8326fd3b3d1eeb2"><div class="ttname"><a href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#a8f546a2a350406d4a8326fd3b3d1eeb2">BOOST_CONSTANT::COMP_SYNCHRO_SEM</a></div><div class="ttdeci">const char * COMP_SYNCHRO_SEM</div></div>
<div class="ttc" id="_boost__utils_8h_html_adb83a541d0810ae6f365708645905f0f"><div class="ttname"><a href="_boost__utils_8h.html#adb83a541d0810ae6f365708645905f0f">waitSemaphore</a></div><div class="ttdeci">void waitSemaphore(const std::string &amp;semName, int initVal=0)</div><div class="ttdoc">Decrements the interprocess_semaphore. </div><div class="ttdef"><b>Definition:</b> <a href="_boost__utils_8h_source.html#l00107">Boost_utils.h:107</a></div></div>
<div class="ttc" id="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t_html_a7d840181d3156f954c5bf1fc41fb572d"><div class="ttname"><a href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#a7d840181d3156f954c5bf1fc41fb572d">BOOST_CONSTANT::APP_MUTEX_CND</a></div><div class="ttdeci">const char * APP_MUTEX_CND</div></div>
<div class="ttc" id="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t_html_a6c6590c122c4a17609cb3783a331cede"><div class="ttname"><a href="namespace_b_o_o_s_t___c_o_n_s_t_a_n_t.html#a6c6590c122c4a17609cb3783a331cede">BOOST_CONSTANT::SYSTEM_MANAGER_CND</a></div><div class="ttdeci">const char * SYSTEM_MANAGER_CND</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_f225e4d86008d3e73336a06c8611e2b4.html">runtime_env</a></li><li class="navelem"><a class="el" href="dir_8f9a475dbd6b925c5ec1184392d41305.html">rte_utils</a></li><li class="navelem"><a class="el" href="dir_8a3d4f0e83014ff517f4732af5005de4.html">include</a></li><li class="navelem"><a class="el" href="_boost__utils_8h.html">Boost_utils.h</a></li>
    <li class="footer">Generated on Fri Jul 12 2019 14:31:53 for
    <a href="http://www.onetek.net">
    <img class="footer" src="openscaLogo.png" height="31" alt="openSCA"/></a>
    </li>
  </ul>
</div>
</body>
</html>
